package com.java.enums.sample05;

public class EnumsNested {

	/**
	 * 嵌套的枚举类型默认隐式是static的，可以显示的使用static修饰 
	 *
	 */
	public static enum Week{
		MONDAY,
		TUESDAY,
		WEDNESDAY,
		THURSDAY,
		FRIDAY,
		SATURDAY,
		SUNDAY
	}

	public static class Inner{
		public enum Week{
			MONDAY,
			TUESDAY,
			WEDNESDAY,
			THURSDAY,
			FRIDAY,
			SATURDAY,
			SUNDAY
		}	
	}
}
